package com.example.sqlite.repository.business;

import com.example.sqlite.entity.business.People;
import com.example.sqlite.repository.base.BaseRepository;
import java.util.List;
import java.util.Map;
import org.springframework.data.jpa.repository.Query;

public interface PeopleRepository extends BaseRepository<People> {
		
	@Query(	
			nativeQuery = true,	
			value = "select * from t_people"
	)	
	List<Map<String, Object>> findAllToMap();	
}	
